#include <QApplication>
#include <QPushButton>
#include <QObject>

#include "fcitxvirtualkeyboardserviceproxy.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    FcitxVirtualKeyboardServiceProxy dbusProxy;

    QPushButton button;
    button.show();

    QObject::connect(&button, &QPushButton::clicked, &dbusProxy, [&]()
                     { dbusProxy.showVirtualKeyboard(); });

    return app.exec();
}